package xgenerator.model;

import java.util.List;

public class ModelMetadata {

	/*
	 * 模型信息
	 */
	private List<FieldMetadata> fieldMetadatas;
	private String metadataModelName;
	private String modelDescription;
	private String encoding;
	
	/*
	 * JavaEE规范选择
	 */
	private String j2eeSpecificationLevel;  //JavaEE规范
	
	/*
	 * 技术架构
	 */
	private String view;  // 表示层技术
	private String webFramework;  // web层框架
	private String appFramework;  // 业务层框架
	private String persistenceFramework;  // 持久层框架
	private String ria;  // 表示层技术
	
	/*
	 * 项目设置
	 */
	private String projectLocation;
	private String src;
	private String appConfig;
	private String appResources;
	private String webRoot;
	private String webConfig;
	private String webResources;
	
	/*
	 * 命名法选择
	 */
	private String notation;  //命名法
	
	/*
	 * 个性化设置
	 */
	private String packagePrefix;
	private String subsystem;
	private String module;
	private String javaModelName;
	private String javaModelNameLowerCase;
	private String javaModelNameLowerCamelCase;  //javaModelName LowerCamelCase
	private String javaModelNameUpperCamelCase;  //javaModelName UpperCamelCase
	private String javaModelNameUnderscore;  //beanName下划线表示
	private String javaModelNameStudlyCaps;  //javaModelName StudlyCaps表示
	
	private String actionSuffer;
	private String actionFormSuffer;
	private String serviceSuffer;
	private String serviceImplSuffer;
	private String daoSuffer;
	private String daoImplSuffer;
	private String metadataSuffer;
	
	private String queryPrefix;
	private String createPrefix;
	private String editPrefix;
	private String viewPrefix;
	private String queryCapPrefix;
	private String createCapPrefix;
	private String editCapPrefix;
	private String viewCapPrefix;
	private String gridSuffer;
	private String treeSuffer;
	private String windowSuffer;
	private String panelSuffer;
	private String gridPanelSuffer;
	private String treePanelSuffer;
	
	/*
	 * 代码生成选项
	 */
	private boolean isGenerateRiaCode;  // 是否生成表示层代码
	private boolean isGenerateViewCode;  // 是否生成表示层代码
	private boolean isGenerateControllerCode; // 是否生成控制层代码
	private boolean isGenerateAppCode; // 是否生成业务层代码
	private boolean isGeneratePersistenceCode; // 是否生成持久层代码
	private String pageStyle;  //页面样式
	
	/**
	 * @return the appConfig
	 */
	public String getAppConfig() {
		return appConfig;
	}
	/**
	 * @param appConfig the appConfig to set
	 */
	public void setAppConfig(String appConfig) {
		this.appConfig = appConfig;
	}
	/**
	 * @return the appFramework
	 */
	public String getAppFramework() {
		return appFramework;
	}
	/**
	 * @param appFramework the appFramework to set
	 */
	public void setAppFramework(String appFramework) {
		this.appFramework = appFramework;
	}
	/**
	 * @return the appResources
	 */
	public String getAppResources() {
		return appResources;
	}
	/**
	 * @param appResources the appResources to set
	 */
	public void setAppResources(String appResources) {
		this.appResources = appResources;
	}
	/**
	 * @return the javaModelName
	 */
	public String getJavaModelName() {
		return javaModelName;
	}
	/**
	 * @param javaModelName the javaModelName to set
	 */
	public void setJavaModelName(String beanName) {
		this.javaModelName = beanName;
	}
	/**
	 * @return the javaModelNameLowerCamelCase
	 */
	public String getJavaModelNameLowerCamelCase() {
		return javaModelNameLowerCamelCase;
	}
	/**
	 * @param javaModelNameLowerCamelCase the javaModelNameLowerCamelCase to set
	 */
	public void setJavaModelNameLowerCamelCase(String beanNameLowerCamelCase) {
		this.javaModelNameLowerCamelCase = beanNameLowerCamelCase;
	}
	/**
	 * @return the javaModelNameStudlyCaps
	 */
	public String getJavaModelNameStudlyCaps() {
		return javaModelNameStudlyCaps;
	}
	/**
	 * @param javaModelNameStudlyCaps the javaModelNameStudlyCaps to set
	 */
	public void setJavaModelNameStudlyCaps(String beanNameStudlyCaps) {
		this.javaModelNameStudlyCaps = beanNameStudlyCaps;
	}
	/**
	 * @return the javaModelNameUnderscore
	 */
	public String getJavaModelNameUnderscore() {
		return javaModelNameUnderscore;
	}
	/**
	 * @param javaModelNameUnderscore the javaModelNameUnderscore to set
	 */
	public void setJavaModelNameUnderscore(String beanNameUnderscore) {
		this.javaModelNameUnderscore = beanNameUnderscore;
	}
	/**
	 * @return the javaModelNameUpperCamelCase
	 */
	public String getJavaModelNameUpperCamelCase() {
		return javaModelNameUpperCamelCase;
	}
	/**
	 * @param javaModelNameUpperCamelCase the javaModelNameUpperCamelCase to set
	 */
	public void setJavaModelNameUpperCamelCase(String beanNameUpperCamelCase) {
		this.javaModelNameUpperCamelCase = beanNameUpperCamelCase;
	}
	/**
	 * @return the encoding
	 */
	public String getEncoding() {
		return encoding;
	}
	/**
	 * @param encoding the encoding to set
	 */
	public void setEncoding(String encoding) {
		this.encoding = encoding;
	}
	/**
	 * @return the fieldMetadatas
	 */
	public List<FieldMetadata> getFieldMetadatas() {
		return fieldMetadatas;
	}
	/**
	 * @param fieldMetadatas the fieldMetadatas to set
	 */
	public void setFieldMetadatas(List<FieldMetadata> fieldMetadatas) {
		this.fieldMetadatas = fieldMetadatas;
	}
	/**
	 * @return the isGenerateAppCode
	 */
	public boolean isGenerateAppCode() {
		return isGenerateAppCode;
	}
	/**
	 * @param isGenerateAppCode the isGenerateAppCode to set
	 */
	public void setGenerateAppCode(boolean isGenerateAppCode) {
		this.isGenerateAppCode = isGenerateAppCode;
	}
	/**
	 * @return the isGenerateControllerCode
	 */
	public boolean isGenerateControllerCode() {
		return isGenerateControllerCode;
	}
	/**
	 * @param isGenerateControllerCode the isGenerateControllerCode to set
	 */
	public void setGenerateControllerCode(boolean isGenerateControllerCode) {
		this.isGenerateControllerCode = isGenerateControllerCode;
	}
	/**
	 * @return the isGeneratePersistenceCode
	 */
	public boolean isGeneratePersistenceCode() {
		return isGeneratePersistenceCode;
	}
	/**
	 * @param isGeneratePersistenceCode the isGeneratePersistenceCode to set
	 */
	public void setGeneratePersistenceCode(boolean isGeneratePersistenceCode) {
		this.isGeneratePersistenceCode = isGeneratePersistenceCode;
	}
	/**
	 * @return the isGenerateRiaCode
	 */
	public boolean isGenerateRiaCode() {
		return isGenerateRiaCode;
	}
	/**
	 * @param isGenerateRiaCode the isGenerateRiaCode to set
	 */
	public void setGenerateRiaCode(boolean isGenerateRiaCode) {
		this.isGenerateRiaCode = isGenerateRiaCode;
	}
	/**
	 * @return the isGenerateViewCode
	 */
	public boolean isGenerateViewCode() {
		return isGenerateViewCode;
	}
	/**
	 * @param isGenerateViewCode the isGenerateViewCode to set
	 */
	public void setGenerateViewCode(boolean isGenerateViewCode) {
		this.isGenerateViewCode = isGenerateViewCode;
	}
	/**
	 * @return the j2eeSpecificationLevel
	 */
	public String getJ2eeSpecificationLevel() {
		return j2eeSpecificationLevel;
	}
	/**
	 * @param specificationLevel the j2eeSpecificationLevel to set
	 */
	public void setJ2eeSpecificationLevel(String specificationLevel) {
		j2eeSpecificationLevel = specificationLevel;
	}
	/**
	 * @return the modelDescription
	 */
	public String getModelDescription() {
		return modelDescription;
	}
	/**
	 * @param modelDescription the modelDescription to set
	 */
	public void setModelDescription(String modelDescription) {
		this.modelDescription = modelDescription;
	}
	/**
	 * @return the metadataModelName
	 */
	public String getMetadataModelName() {
		return metadataModelName;
	}
	/**
	 * @param metadataModelName the metadataModelName to set
	 */
	public void setMetadataModelName(String modelName) {
		this.metadataModelName = modelName;
	}
	/**
	 * @return the subsystem
	 */
	public String getSubsystem() {
		return subsystem;
	}
	/**
	 * @param subsystem the subsystem to set
	 */
	public void setSubsystem(String subsystem) {
		this.subsystem = subsystem;
	}
	/**
	 * @return the notation
	 */
	public String getNotation() {
		return notation;
	}
	/**
	 * @param notation the notation to set
	 */
	public void setNotation(String notation) {
		this.notation = notation;
	}
	/**
	 * @return the packagePrefix
	 */
	public String getPackagePrefix() {
		return packagePrefix;
	}
	/**
	 * @param packagePrefix the packagePrefix to set
	 */
	public void setPackagePrefix(String packagePrefix) {
		this.packagePrefix = packagePrefix;
	}
	/**
	 * @return the pageStyle
	 */
	public String getPageStyle() {
		return pageStyle;
	}
	/**
	 * @param pageStyle the pageStyle to set
	 */
	public void setPageStyle(String pageStyle) {
		this.pageStyle = pageStyle;
	}
	/**
	 * @return the persistenceFramework
	 */
	public String getPersistenceFramework() {
		return persistenceFramework;
	}
	/**
	 * @param persistenceFramework the persistenceFramework to set
	 */
	public void setPersistenceFramework(String persistenceFramework) {
		this.persistenceFramework = persistenceFramework;
	}
	/**
	 * @return the projectLocation
	 */
	public String getProjectLocation() {
		return projectLocation;
	}
	/**
	 * @param projectLocation the projectLocation to set
	 */
	public void setProjectLocation(String projectLocation) {
		this.projectLocation = projectLocation;
	}
	/**
	 * @return the ria
	 */
	public String getRia() {
		return ria;
	}
	/**
	 * @param ria the ria to set
	 */
	public void setRia(String ria) {
		this.ria = ria;
	}
	/**
	 * @return the src
	 */
	public String getSrc() {
		return src;
	}
	/**
	 * @param src the src to set
	 */
	public void setSrc(String src) {
		this.src = src;
	}
	/**
	 * @return the webConfig
	 */
	public String getWebConfig() {
		return webConfig;
	}
	/**
	 * @param webConfig the webConfig to set
	 */
	public void setWebConfig(String webConfig) {
		this.webConfig = webConfig;
	}
	/**
	 * @return the webFramework
	 */
	public String getWebFramework() {
		return webFramework;
	}
	/**
	 * @param webFramework the webFramework to set
	 */
	public void setWebFramework(String webFramework) {
		this.webFramework = webFramework;
	}
	/**
	 * @return the webResources
	 */
	public String getWebResources() {
		return webResources;
	}
	/**
	 * @param webResources the webResources to set
	 */
	public void setWebResources(String webResources) {
		this.webResources = webResources;
	}
	/**
	 * @return the webRoot
	 */
	public String getWebRoot() {
		return webRoot;
	}
	/**
	 * @param webRoot the webRoot to set
	 */
	public void setWebRoot(String webRoot) {
		this.webRoot = webRoot;
	}
	/**
	 * @return the view
	 */
	public String getView() {
		return view;
	}
	/**
	 * @param view the view to set
	 */
	public void setView(String webView) {
		this.view = webView;
	}
	/**
	 * @return the actionFormSuffer
	 */
	public String getActionFormSuffer() {
		return this.actionFormSuffer;
	}
	/**
	 * @return the actionSuffer
	 */
	public String getActionSuffer() {
		return this.actionSuffer;
	}
	/**
	 * @return the createPrefix
	 */
	public String getCreatePrefix() {
		return this.createPrefix;
	}
	/**
	 * @return the daoImplSuffer
	 */
	public String getDaoImplSuffer() {
		return this.daoImplSuffer;
	}
	/**
	 * @return the daoSuffer
	 */
	public String getDaoSuffer() {
		return this.daoSuffer;
	}
	/**
	 * @return the editPrefix
	 */
	public String getEditPrefix() {
		return this.editPrefix;
	}
	/**
	 * @return the gridSuffer
	 */
	public String getGridSuffer() {
		return this.gridSuffer;
	}
	/**
	 * @return the metadataSuffer
	 */
	public String getMetadataSuffer() {
		return this.metadataSuffer;
	}
	/**
	 * @return the gridPanelSuffer
	 */
	public String getGridPanelSuffer() {
		return this.gridPanelSuffer;
	}
	/**
	 * @return the serviceImplSuffer
	 */
	public String getServiceImplSuffer() {
		return this.serviceImplSuffer;
	}
	/**
	 * @return the serviceSuffer
	 */
	public String getServiceSuffer() {
		return this.serviceSuffer;
	}
	/**
	 * @return the treeSuffer
	 */
	public String getTreeSuffer() {
		return this.treeSuffer;
	}
	/**
	 * @return the viewPrefix
	 */
	public String getViewPrefix() {
		return this.viewPrefix;
	}
	/**
	 * @return the windowSuffer
	 */
	public String getWindowSuffer() {
		return this.windowSuffer;
	}
	/**
	 * @param actionFormSuffer the actionFormSuffer to set
	 */
	public void setActionFormSuffer(String actionFormSuffer) {
		this.actionFormSuffer = actionFormSuffer;
	}
	/**
	 * @param actionSuffer the actionSuffer to set
	 */
	public void setActionSuffer(String actionSuffer) {
		this.actionSuffer = actionSuffer;
	}
	/**
	 * @param createPrefix the createPrefix to set
	 */
	public void setCreatePrefix(String createPagePrefix) {
		this.createPrefix = createPagePrefix;
	}
	/**
	 * @param daoImplSuffer the daoImplSuffer to set
	 */
	public void setDaoImplSuffer(String daoImplSuffer) {
		this.daoImplSuffer = daoImplSuffer;
	}
	/**
	 * @param daoSuffer the daoSuffer to set
	 */
	public void setDaoSuffer(String daoSuffer) {
		this.daoSuffer = daoSuffer;
	}
	/**
	 * @param editPrefix the editPrefix to set
	 */
	public void setEditPrefix(String editPagePrefix) {
		this.editPrefix = editPagePrefix;
	}
	/**
	 * @param gridSuffer the gridSuffer to set
	 */
	public void setGridSuffer(String gridPageSuffer) {
		this.gridSuffer = gridPageSuffer;
	}
	/**
	 * @param metadataSuffer the metadataSuffer to set
	 */
	public void setMetadataSuffer(String metadataSuffer) {
		this.metadataSuffer = metadataSuffer;
	}
	/**
	 * @param gridPanelSuffer the gridPanelSuffer to set
	 */
	public void setGridPanelSuffer(String panelSuffer) {
		this.gridPanelSuffer = panelSuffer;
	}
	/**
	 * @param serviceImplSuffer the serviceImplSuffer to set
	 */
	public void setServiceImplSuffer(String serviceImplSuffer) {
		this.serviceImplSuffer = serviceImplSuffer;
	}
	/**
	 * @param serviceSuffer the serviceSuffer to set
	 */
	public void setServiceSuffer(String serviceSuffer) {
		this.serviceSuffer = serviceSuffer;
	}
	/**
	 * @param treeSuffer the treeSuffer to set
	 */
	public void setTreeSuffer(String treePageSuffer) {
		this.treeSuffer = treePageSuffer;
	}
	/**
	 * @param viewPrefix the viewPrefix to set
	 */
	public void setViewPrefix(String viewPagePrefix) {
		this.viewPrefix = viewPagePrefix;
	}
	/**
	 * @param windowSuffer the windowSuffer to set
	 */
	public void setWindowSuffer(String windowSuffer) {
		this.windowSuffer = windowSuffer;
	}
	/**
	 * @return the panelSuffer
	 */
	public String getPanelSuffer() {
		return this.panelSuffer;
	}
	/**
	 * @return the treePanelSuffer
	 */
	public String getTreePanelSuffer() {
		return this.treePanelSuffer;
	}
	/**
	 * @param panelSuffer the panelSuffer to set
	 */
	public void setPanelSuffer(String panelSuffer) {
		this.panelSuffer = panelSuffer;
	}
	/**
	 * @param treePanelSuffer the treePanelSuffer to set
	 */
	public void setTreePanelSuffer(String treePanelSuffer) {
		this.treePanelSuffer = treePanelSuffer;
	}
	/**
	 * @return the queryPrefix
	 */
	public String getQueryPrefix() {
		return this.queryPrefix;
	}
	/**
	 * @param queryPrefix the queryPrefix to set
	 */
	public void setQueryPrefix(String queryPrefix) {
		this.queryPrefix = queryPrefix;
	}
	/**
	 * @return the createCapPrefix
	 */
	public String getCreateCapPrefix() {
		return this.createCapPrefix;
	}
	/**
	 * @return the editCapPrefix
	 */
	public String getEditCapPrefix() {
		return this.editCapPrefix;
	}
	/**
	 * @return the queryCapPrefix
	 */
	public String getQueryCapPrefix() {
		return this.queryCapPrefix;
	}
	/**
	 * @return the viewCapPrefix
	 */
	public String getViewCapPrefix() {
		return this.viewCapPrefix;
	}
	/**
	 * @param createCapPrefix the createCapPrefix to set
	 */
	public void setCreateCapPrefix(String createCapPrefix) {
		this.createCapPrefix = createCapPrefix;
	}
	/**
	 * @param editCapPrefix the editCapPrefix to set
	 */
	public void setEditCapPrefix(String editCapPrefix) {
		this.editCapPrefix = editCapPrefix;
	}
	/**
	 * @param queryCapPrefix the queryCapPrefix to set
	 */
	public void setQueryCapPrefix(String queryCapPrefix) {
		this.queryCapPrefix = queryCapPrefix;
	}
	/**
	 * @param viewCapPrefix the viewCapPrefix to set
	 */
	public void setViewCapPrefix(String viewCapPrefix) {
		this.viewCapPrefix = viewCapPrefix;
	}
	/**
	 * @return the javaModelNameLowerCase
	 */
	public String getJavaModelNameLowerCase() {
		return javaModelNameLowerCase;
	}
	/**
	 * @param javaModelNameLowerCase the javaModelNameLowerCase to set
	 */
	public void setJavaModelNameLowerCase(String javaModelNameLowerCase) {
		this.javaModelNameLowerCase = javaModelNameLowerCase;
	}
	/**
	 * @return the module
	 */
	public String getModule() {
		return module;
	}
	/**
	 * @param module the module to set
	 */
	public void setModule(String module) {
		this.module = module;
	}

	
}
